FROM golang:latest

LABEL maintainer="tan.yi1993@163.com" \
    description="syncd"

WORKDIR /root
RUN curl https://raw.githubusercontent.com/dreamans/syncd/master/install.sh |bash &&\
    cd syncd-deploy

ENTRYPOINT syncd-deploy ./bin/syncd -c ./etc/syncd.ini
